package com.atguigu.gmall.product.service;

import com.atguigu.gmall.model.product.BaseTrademark;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Component;

public interface BaseTradeMarkService extends IService<BaseTrademark> {

    //添加品牌
    Boolean saveTradeMark(BaseTrademark baseTrademark);

    //删除品牌
    boolean deleteTradeMark(Long id);

    //获取品牌分页列表
    IPage getBaseTradeMarekList(Page<BaseTrademark> objectpage);
}
